package com.huanf.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
@Data
public class MailConfig {

    @Value("${spring.mail.enable:false}")
    private Boolean enable;

    @Value("${spring.mail.host}")
    private String host;

    @Value("${spring.mail.username}")
    private String username;

    @Value("${spring.mail.password}")
    private String password;

    @Value("${spring.mail.target}")
    private String target;

    private final String title = "剩余可用Key库存提醒";

}
